//
//  NSArrayDataExtend.h
//  CedarFinancePH
//
//  Created by lshenrong on 2018/4/28.
//  Copyright © 2018年 cedarhd. All rights reserved.
//

#import <Foundation/Foundation.h>


/**
 数字扩展类，只要用在table view
 */
@interface TableViewDataExtend : NSObject


/**
 数据
 */
@property (nonatomic,strong) NSMutableArray *listData;

/**
 页码编号
 */
@property (nonatomic,assign) NSInteger pageNum;

/**
 页码
 */
@property (nonatomic,assign) NSInteger pageSize;


/**
 总数
 */
@property (nonatomic,assign) NSInteger totalCount;

/**
 总页
 */
@property (nonatomic,assign) NSInteger totalPage;


+ (instancetype)dataWithPageNum:(NSInteger)pageNum pageSize:(NSInteger)pageSize;

- (void)addNewArrayData:(NSArray *)data;
- (void)resetAddNewArrayData:(NSArray *)data;
- (void)removeAllListData;


@end
